package com.alks.function.data.request.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class PcEmployeeAwardAddRequest {

    @ApiModelProperty(value = "工号",name = "workId")
    private String workerId;

    @ApiModelProperty(value = "部门编号",name = "deptNo")
    private String deptNo;

    @ApiModelProperty(value = "部门名称",name = "deptName")
    private String deptName;

    @ApiModelProperty(value = "姓名",name = "name")
    private String name;

    @ApiModelProperty(value = "身份证",name = "idNo")
    private String idNo;

    @ApiModelProperty(value = "职务",name = "position")
    private String position;

    @ApiModelProperty(value = "奖惩日期",name = "ddate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ddate;

    @ApiModelProperty(value = "奖惩类别",name = "type")
    private String type;

    @ApiModelProperty(value = "奖惩次数",name = "nums")
    private Integer nums;

    @ApiModelProperty(value = "奖惩原因",name = "nums")
    private String reason;
}
